class IntimateModel {
  int? intimateDegree;
  String? intimateTitle;
  int? intimateLevel;
  int? userId;
  String? nickname;
  String? avatar;
  int? gender;
  int? age;
  int? isOnline;
  String? activeTime;
  int? userState;
  String? dateline;

  IntimateModel(
      {intimateDegree,
      intimateTitle,
      intimateLevel,
      userId,
      nickname,
      avatar,
      gender,
      age,
      isOnline,
      activeTime,
      userState,
      dateline});

  IntimateModel.fromJson(Map<String, dynamic> json) {
    intimateDegree = json['intimate_degree'];
    intimateTitle = json['intimate_title'];
    intimateLevel = json['intimate_level'];
    userId = json['user_id'];
    nickname = json['nickname'];
    avatar = json['avatar'];
    gender = json['gender'];
    age = json['age'];
    isOnline = json['is_online'];
    activeTime = json['active_time'];
    userState = json['user_state'];
    dateline = json['dateline'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['intimate_degree'] = intimateDegree;
    data['intimate_title'] = intimateTitle;
    data['intimate_level'] = intimateLevel;
    data['user_id'] = userId;
    data['nickname'] = nickname;
    data['avatar'] = avatar;
    data['gender'] = gender;
    data['age'] = age;
    data['is_online'] = isOnline;
    data['active_time'] = activeTime;
    data['user_state'] = userState;
    data['dateline'] = dateline;
    return data;
  }
}
